"""
下一个用户
"""
from selenium.webdriver.common.by import By

elements = '//*[@id="resume-page"]/div/div/div[4]/div'


def next_person(driver):
    try:
        next_element = driver.find_element(By.XPATH, elements)
        next_element.click()
    except Exception as e:
        print(f"下一个用户时发生错误: {e}")
        raise e
